<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据绑定案例</title>
    <script src="../../js/vue.js"></script>
</head>
<body>
    <div id="app">
        单向数据绑定：<input type="text" v-bind:value="input1"><br />
        双向数据绑定：<input type="text" v-model:value="input2">
    </div>
    <script>
        Vue.config.productionTip = false;
        
        let app = new Vue({
            el: '#app',
            data: {
                input1: "222",
                input2: "333"
            }
        });
    </script>
</body>
</html>
